﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="ThemSanPham.aspx.cs" Inherits="WebApplication1.Admin.ThemSanPham" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script src="../Scripts/javascript.js" type="text/javascript"></script>  
<div style="width:790px; padding:0px 5px 0 5px;">
<div class="ct_top">
<div class="ct_left"></div>
<div class="ct_right"></div>
<div class="ct_center"><h1>Thêm sản phẩm mới</h1></div>
</div> 

 <div class="ct_middle">
 
<table class="tb_dangki"  cellpadding="4">
   
  <tr>
<td class="td_lable">
    <asp:Label ID="Label3" runat="server" Text="Mã sản phẩm :"></asp:Label>
</td>
<td class="td_textbox">
    <asp:TextBox ID="TextBoxmasanpham" runat="server" MaxLength="10" Width="234px"> 
       </asp:TextBox></td>
</tr>
  <tr>
    <td class="td_lable">
    <asp:Label ID="Label1" runat="server" Text="Loại sản phẩm :"></asp:Label></td><td class="td_textbox">
    <asp:DropDownList ID="DropDownListloaisanpham" runat="server" Width="240px">
    </asp:DropDownList>
    </td>
</tr>

  <tr>
    <td class="td_lable">
    <asp:Label ID="Label2" runat="server" Text="Tên sản phẩm :"></asp:Label></td><td class="td_textbox">
    <asp:TextBox ID="TextBoxtensanpham" runat="server" MaxLength="50" Width="234px"></asp:TextBox></td>
    </tr>
    <tr>
    <td class="td_lable">
    <asp:Label ID="Label4" runat="server"  Text="Kiểu dáng :"></asp:Label></td><td class="td_textbox">
    <asp:TextBox ID="TextBoxkieudang" MaxLength="30" runat="server" Width="234px"></asp:TextBox></td>
    </tr>
    <tr>
    <td class="td_lable">
    <asp:Label ID="Label10" runat="server" Text="Chất liệu :"></asp:Label></td><td class="td_textbox">
    <asp:TextBox ID="TextBoxchatlieu" MaxLength="30" runat="server" Width="234px"></asp:TextBox></td>
    </tr>
    <tr>
    <td class="td_lable">
    <asp:Label ID="Label5" runat="server" Text="Kích cỡ :"></asp:Label></td><td class="td_textbox">
    <asp:TextBox ID="TextBoxkickco" MaxLength="30" runat="server" Width="234px"></asp:TextBox></td>
    </tr>
    <tr>
    <td class="td_lable">
    <asp:Label ID="Label6" runat="server" Text="Màu sắc :"></asp:Label></td><td class="td_textbox">
    <asp:TextBox ID="TextBoxmau" runat="server" MaxLength="30" Width="234px"></asp:TextBox></td>
    </tr>
    <tr>
    <td class="td_lable">
    <asp:Label ID="Label7" runat="server" Text="Xuất xứ :"></asp:Label></td><td class="td_textbox">
    <asp:TextBox ID="TextBoxxuatxu" runat="server" MaxLength="30" Width="234px"></asp:TextBox></td>
    </tr>
    <tr>
<td class="td_lable">
    <asp:Label ID="Label8" runat="server" Text="Đơn giá :"></asp:Label></td><td class="td_textbox">
       <input id="inputdongia" runat="server" onkeypress="return isNumberKey(event)" maxlength="7" type="text" 
        name="txtChar" style="width: 234px">
    </td>
    </tr>
  <tr>
<td class="td_lable">
    <asp:Label ID="Label9" runat="server" Text="URL hình :"></asp:Label></td> 
    <td class="td_textbox">
   <asp:FileUpload ID="FileUpload1" runat="server" Width="234px"  />
</td>
</tr>
<tr>
   <td align="center" colspan="3">
       <asp:Label ID="Lbthongbao" ForeColor="Red" runat="server" Text=""></asp:Label>
       </td>
</tr>
  <tr>
   <td align="center" colspan="3">
       <asp:Button ID="Buttonthem" runat="server" Text="Thêm sản phẩm" 
           onclick="Buttonthem_Click" />
   
    </td>
   </tr>
</table>
 </div>
<div class="ct_bottom">
<div class="ct_left"></div>
<div class="ct_right"></div>
<div class="ct_center"></div>
</div>
 </div>
</asp:Content>
